package com.mx.tool.form.window.website;

import javax.swing.*;

import static com.mx.tool.enums.WebsiteEnum.*;

/**
 * @Author: 徐建鹏.
 * @create: 2021-11-11 10:44
 * @Description:
 */
public class FwqWindow extends WebsiteWindow{
    private JPanel jPanel;
    private JButton alyButton;
    private JButton txyButton;
    private JButton hwyButton;
    private JButton jdyButton;
    private JButton bdyButton;
    private JButton xbsmButton;

    public JPanel getContent() {
        return jPanel;
    }

    public FwqWindow() {
        alyButton.addActionListener(e -> openUrl(ALY.value()));
        txyButton.addActionListener(e -> openUrl(TXY.value()));
        hwyButton.addActionListener(e -> openUrl(HWY.value()));
        jdyButton.addActionListener(e -> openUrl(JDY.value()));
        bdyButton.addActionListener(e -> openUrl(BDY.value()));
        xbsmButton.addActionListener(e -> openUrl(XBSM.value()));
    }
}
